package com.example.ncov_management_system.dao;

import com.example.ncov_management_system.entity.Clbum;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ClbumDao extends JpaRepository<Clbum, Long>, JpaSpecificationExecutor<Clbum> {
    Clbum findByName(String name);
    List<Clbum> findByTeacherIsNull();
}
